package com.lishuang.user.service;

import com.lishuang.user.domain.User;
import com.lishuang.basic.service.IBaseService;
import com.lishuang.user.dto.UserDto;

import javax.mail.MessagingException;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lishuang
 * @since 2022-06-01
 */
public interface IUserService extends IBaseService<User> {

    /**
     * 接口：用户手机注册
     *
     * @param userDto
     * @return AjaxResult
     */
    void phoneRegister(UserDto userDto);


    /**
     * 接口：用户邮箱注册
     *
     * @param userDto
     * @return AjaxResult
     */
    void emailRegister(UserDto userDto) throws MessagingException;
}
